import fly from '../utils/request.js'
export const sendCode = (mebile) => fly.get('sms/codes/' + mebile)
export const login = (data) => fly.post('/authorizations',data)
export const getIndex = data => {
    return fly.get('/user/channels')
}

export const getList = (data) => fly.get('/articles',data)
export const getmain = () => fly.get('/user')